FROM java:8
VOLUME /tmp
ADD target/registration-0.0.1-SNAPSHOT.jar registration.jar
RUN bash -c 'touch /registration.jar'
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/registration.jar"]